﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;

namespace ProyectoFinal
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {

        }

        private void btnClientes_Click(object sender, EventArgs e)
        {
            Form2 abrirformulario = new Form2();
            abrirformulario.ShowDialog();  
        }

        private void btnGestionProductos_Click(object sender, EventArgs e)
        {
            Form3 abrirformulario = new Form3();
            abrirformulario.ShowDialog();  
        }

        private void btnStock_Click(object sender, EventArgs e)
        {
            Form5 abrirformulario = new Form5();
            abrirformulario.ShowDialog();  
        }

        private void btnGestionPrecios_Click(object sender, EventArgs e)
        {
            Form4 abrirformulario = new Form4();
            abrirformulario.ShowDialog();  
        }

        private void btnEmpleados_Click(object sender, EventArgs e)
        {
            //Ventas
            Form6 abrirformulario = new Form6();
            abrirformulario.ShowDialog();  
        }

        private void button1_Click_1(object sender, EventArgs e)
        {
            Facturar abrirformulario = new Facturar();
            abrirformulario.ShowDialog();  
        }

        private void btnConfiguracion_Click(object sender, EventArgs e)
        {
            Form5 abrirformulario = new Form5();
            abrirformulario.ShowDialog();  
        }

        private void button2_Click(object sender, EventArgs e)
        {
            Stock abrirformulario = new Stock();
            abrirformulario.ShowDialog();  
        }

        private void configuracionToolStripMenuItem_Click(object sender, EventArgs e)
        {

        }

        private void editarMesasYEmpeadosToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form5 abrirformulario = new Form5();
            abrirformulario.ShowDialog();  
        }

        private void aBMProveedoresToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form7 abrirformulario = new Form7();
            abrirformulario.ShowDialog();
        }

        private void aBMClientesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form2 abrirformulario = new Form2();
            abrirformulario.ShowDialog();
        }

        private void gestionDeProductosToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form3 abrirformulario = new Form3();
            abrirformulario.ShowDialog();  
        }

        private void verStockToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Stock abrirformulario = new Stock();
            abrirformulario.ShowDialog();  
        }

        private void button3_Click(object sender, EventArgs e)
        {
            Form8 abrirformulario = new Form8();
            abrirformulario.ShowDialog();
        }

        private void button4_Click(object sender, EventArgs e)
        {
            Form7 abrirformulario = new Form7();
            abrirformulario.ShowDialog();
        }

        private void altaDeProdutosToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form4 abrirformulario = new Form4();
            abrirformulario.ShowDialog();
        }

        private void nuevaVentaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Facturar abrirformulario = new Facturar();
            abrirformulario.ShowDialog(); 
        }

        private void listadoProveedoresToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form71 abrirformulario = new Form71();
            abrirformulario.ShowDialog(); 
            
        }

        private void btnSalir_Click(object sender, EventArgs e)
        {
            Close();
        }

        private void salirToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Close();
        }

        private void button3_Click_1(object sender, EventArgs e)
        {
            FormPedidos abrirformulario = new FormPedidos();
            abrirformulario.ShowDialog(); 
        }
    }
}
